home *** CD-ROM | disk | FTP | other *** search
- /*
- * statfs.h -- structure for statfs() call.
- */
-
- #ifndef _SYS_STATFS_H
- #define _SYS_STATFS_H
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- typedef struct {
- long val[2];
- } fsid_t;
-
- struct statfs {
- long f_type; /* type of info, zero for now */
- long f_bsize; /* fundamental file system block size */
- long f_blocks; /* total blocks in file system */
- long f_bfree; /* free blocks */
- /*
- * Remaining fields are here for BSD compatibility, but they aren't really
- * used for a standard TOS-ish filesystem
- */
- long f_bavail; /* free blocks available to non-super-user */
- long f_files; /* total file nodes in file system */
- long f_ffree; /* free file nodes in fs */
- fsid_t f_fsid; /* file system id */
- long f_spare[7]; /* spare for later */
- };
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* _SYS_STATFS_H */
-